﻿namespace BrowserCacheBustingTests
{
    using System.Text;
    using BrowserCacheBustingUtilities;

    public class StringBuilderOutput : IOutput
    {
        public StringBuilder _data = new StringBuilder();

        public void Write(string message)
        {
            Data.Append(message);
        }

        public void WriteLine(string message)
        {
            Data.AppendLine(message);
        }

        public void WriteLine()
        {
            Data.AppendLine();
        }

        public StringBuilder Data
        {
            get
            {
                return _data;
            }
        }
    }
}
